﻿using DapperExtensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RightControl.Model {

    [Table("translation")]
    public class Translation : Entity {

        public string OriContent { get; set; }

        public string TransEnglish { get; set; }

        /// <summary>
        /// 敦煌属性ID
        /// </summary>
        public string DhAttrId { get; set; }

        /// <summary>
        /// 敦煌属性值ID
        /// </summary>
        public string DhValueId { get; set; }

        public Translation() { }

        public Translation(int userId) {
            CreateBy = userId;
            CreateOn = DateTime.Now;
        }

    }
}
